import fetch from '@/utils/fetch'

export function fetchList () {
  return fetch({
    url: '/api/getAllStudent',
    method: 'get'
  })
}

export function fetchPatientListByDoctorId (doctor) {
  return fetch({
    url: '/api/patient/getPatientByDoctorId',
    method: 'get',
    params: doctor
  })
}
